{% extends 'admin/model/edit.html' %}


{% block tail %}
    {{ super() }}

    <script src="{{ url_for('static', filename='js/ckeditor/ckeditor.js') }}"></script>
    <script>
    CKEDITOR.replace('content', {
        height: 500,
        {#filebrowserBrowseUrl: 'static/imageupload',#}
        {#filebrowserImageBrowseUrl: 'static/imageupload',#}
        filebrowserUploadUrl: '{{ url_for('back.fileupload') }}',
        filebrowserImageUploadUrl: '{{ url_for('back.imageupload') }}'
    });
    </script>
{% endblock %}